package com.power.sifa.info.model.pageInfo;

import com.plf.common.domain.BasePageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
*  法律表条件查询
*/

@Data
@ApiModel(value="法律表条件查询")
@EqualsAndHashCode(callSuper = false)
public class Law_docPageInfo extends BasePageInfo{

        @ApiModelProperty(value = "编码")
        private String f_id;
        @ApiModelProperty(value = "编码操作符")
        private String f_id_op = "like";

        @ApiModelProperty(value = "名称")
        private String f_title;
        @ApiModelProperty(value = "名称操作符")
        private String f_title_op = "like";

        @ApiModelProperty(value = "法律性质")
        private Integer f_type;
        @ApiModelProperty(value = "法律性质操作符")
        private String f_type_op = "=";
        @ApiModelProperty(value = "发布机关id")
        private String f_pubunitid;
        @ApiModelProperty(value = "发布机关id操作符")
        private String f_pubunitid_op = "like";

        @ApiModelProperty(value = "发布机关名称")
        private String f_pubunitname;
        @ApiModelProperty(value = "发布机关名称操作符")
        private String f_pubunitname_op = "like";

        @ApiModelProperty(value = "发布日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_pubdate;
        @ApiModelProperty(value = "发布日期操作符")
        private String f_pubdate_op = ">=";

        @ApiModelProperty(value = "发布日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_pubdate_01;
        @ApiModelProperty(value = "发布日期操作符")
        private String f_pubdate_01_op = "<=";

        @ApiModelProperty(value = "施行日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_execdate;
        @ApiModelProperty(value = "施行日期操作符")
        private String f_execdate_op = ">=";

        @ApiModelProperty(value = "施行日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_execdate_01;
        @ApiModelProperty(value = "施行日期操作符")
        private String f_execdate_01_op = "<=";

        @ApiModelProperty(value = "有效性")
        private Integer f_status;
        @ApiModelProperty(value = "有效性操作符")
        private String f_status_op = "=";
        @ApiModelProperty(value = "失效日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_losedate;
        @ApiModelProperty(value = "失效日期操作符")
        private String f_losedate_op = ">=";

        @ApiModelProperty(value = "失效日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_losedate_01;
        @ApiModelProperty(value = "失效日期操作符")
        private String f_losedate_01_op = "<=";

        @ApiModelProperty(value = "收录日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_recorddate;
        @ApiModelProperty(value = "收录日期操作符")
        private String f_recorddate_op = ">=";

        @ApiModelProperty(value = "收录日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_recorddate_01;
        @ApiModelProperty(value = "收录日期操作符")
        private String f_recorddate_01_op = "<=";

        @ApiModelProperty(value = "来源途径")
        private Integer f_source;
        @ApiModelProperty(value = "来源途径操作符")
        private String f_source_op = "=";
        @ApiModelProperty(value = "发布文号")
        private String f_pubcode;
        @ApiModelProperty(value = "发布文号操作符")
        private String f_pubcode_op = "like";

        @ApiModelProperty(value = "附件id")
        private String f_fileid;
        @ApiModelProperty(value = "附件id操作符")
        private String f_fileid_op = "=";

        @ApiModelProperty(value = "版本号")
        private String f_versions;
        @ApiModelProperty(value = "版本号操作符")
        private String f_versions_op = "=";

        @ApiModelProperty(value = "法律文书类型")
        private String f_groups;
        @ApiModelProperty(value = "法律文书类型操作符")
        private String f_groups_op = "=";


        /**
         * 自定义查询参数
         */

        @ApiModelProperty(value = "发布开始日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_pubStartDate;

        @ApiModelProperty(value = "发布结束日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_pubEndDate;

        @ApiModelProperty(value = "施行开始日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_execStartDate;

        @ApiModelProperty(value = "施行结束日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_execEndDate;

        @ApiModelProperty(value = "失效开始日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_loseStartDate;

        @ApiModelProperty(value = "失效结束日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_loseEndDate;

        @ApiModelProperty(value = "收录开始日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_recordStartDate;

        @ApiModelProperty(value = "收录结束日期", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_recordEndDate;

}